home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jazlib.arc / INT24ERR.C < prev    next >
Text File  |  1988-12-18  |  801b  |  24 lines

  1. /*
  2. ┌────────────────────────────────────────────────────────────────────────────┐
  3. │int24err.c                                                                  │
  4. │This routine , used in conjunction with insint24.c is called after any dos  │
  5. │i/o operation and returns an errorcode which avoids the                     │
  6. │Abort, Retry, Ignore stuff.                                                 │
  7. │                                                                            │
  8. │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950                      │
  9. └────────────────────────────────────────────────────────────────────────────┘
  10. */
  11.  
  12.  
  13. int24err()
  14. {
  15.   extern int far int24error;
  16.   int w;
  17.  
  18.   w = int24error;
  19.  
  20.   int24error = 0;             /* reset error to zero */
  21.  
  22.   return(w);
  23. }
  24.